<header class="navbar">
    <div class="container-fluid expanded-panel">
        <div class="row">
            <div id="logo" class="col-xs-2">
                <a ng-click="goHome()"><img src="app/images/logo.png"/>可视化分析平台</a>
            </div>
            <div id="top-panel" class="col-xs-10">
                <div class="row">
                    <div class="col-xs-4">
                        <a ng-click="switchSidebar()" class="show-sidebar">
                            <i class="fa fa-bars"></i>
                        </a>
                        <div class="pathinfo">
                            当前位置：<span class="path">{{pathInfo}}</span>
                        </div>
                    </div>
                    <div class="col-xs-8 top-panel-right">
                        <ul class="nav navbar-nav pull-right panel-menu">
                            <li class="alarm">
                                <a class="modal-link cursor-pointer" ng-click="goToPlay()">
                                    <i class="glyphicon glyphicon-dashboard"></i>
                                    <!--<span class="badge">1024</span>-->
                                </a>
                            </li>
                            <li class="dropdown">
                                <a class="dropdown-toggle account" data-toggle="dropdown">
                                    <div class="avatar">
                                        <img src="app/images/user-profile.png" class="img-rounded" alt="avatar" />
                                    </div>
                                    <i class="fa fa-angle-down pull-right"></i>
                                    <div class="user-mini pull-right">
                                        <span class="welcome">你好,</span>
                                        <span>{{(!currentUser || !currentUser.UserAlias)?"未登录":currentUser.UserAlias}}</span>
                                    </div>
                                </a>
                                <ul class="dropdown-menu">
                                    <li>
                                        <a ng-click="goToSetting()">
                                            <i class="fa fa-cog"></i>
                                            <span>开发</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a ng-click="exitToLogin()">
                                            <i class="fa fa-power-off"></i>
                                            <span>退出</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>